package cn.rkylin.oms.system.shop.service;

import java.util.List;

import cn.rkylin.oms.system.shop.domain.ShopStor;
import cn.rkylin.oms.system.shop.vo.ShopStorVO;

public interface IShopStorService {
    /**
     * 根据条件查找shopStor（不支持分页）
     * @return
     * @throws Exception
     */
    public List<ShopStorVO> getShopStorByCondition(ShopStorVO shopStorVO) throws Exception;

    public List<ShopStorVO> getShopStorListByShopStor(ShopStorVO vo) throws Exception;

    /**
     * 给店铺添加1个仓库
     * @param shopStor
     */
    public int insertShopStor(ShopStor shopStor) throws Exception;
    
    /**
     * 删除1个店铺仓库
     * @param shopStorId
     * @throws Exception
     */
    public int deleteShopStor(String shopStorId) throws Exception;
    
    /**
     * 获取店铺的所有仓库
     * @param shopId
     * @throws Exception
     */
    public List<ShopStorVO> getShopStorList(String shopId) throws Exception;

    /**
     * 获取店铺的所有仓库
     * @param prjId
     * @throws Exception
     */
    public List<ShopStorVO> getShopStorListByPrjId(String prjId) throws Exception;

    /**
     * 修改店铺仓库
     * @param shopStor
     */
    public int updateShopStor(ShopStor shopStor) throws Exception;

}
